ci(codeql): scan actions instead of empty javascript-typescript matrix#32
Merged
Conversation
The repo has no JS/TS sources (language policy bans them; codebase is Rust/ReScript), so the CodeQL `javascript-typescript` matrix exits with "no source files" on every run and produces no analysis. Switch the matrix to `actions`, which scans the workflow files every repo has and gives the security-events upload something real to report. https://claude.ai/code/session_017KxkerbS1hjJwipTExFxLc
🔍 Hypatia Security ScanFindings: 44 issues detected
View findings[
{
"reason": "Admitted leaves proof hole (1 occurrences, CWE-704)",
"type": "admitted",
"file": "/home/runner/work/my-lang/my-lang/proofs/verification/coq/Typing.v",
"action": "flag",
"rule_module": "code_safety",
"severity": "critical"
},
{
"reason": "Docker reference in Nickel config -- RSR requires Podman/Containerfile (1 occurrences, CWE-1104)",
"type": "ncl_docker_not_podman",
"file": "/home/runner/work/my-lang/my-lang/.machine_readable/svc/k9/my-lang-metadata.k9.ncl",
"action": "flag",
"rule_module": "code_safety",
"severity": "medium"
},
{
"reason": "unwrap() without prior check -- DoS via panic (2 occurrences, CWE-754)",
"type": "unwrap_without_check",
"file": "/home/runner/work/my-lang/my-lang/src/proptest.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
},
{
"reason": "panic! macro causes unrecoverable crash (1 occurrences, CWE-754)",
"type": "panic_macro",
"file": "/home/runner/work/my-lang/my-lang/src/proptest.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
},
{
"reason": "unwrap_or(0) with dangerous default (1 occurrences, CWE-754)",
"type": "unwrap_dangerous_default",
"file": "/home/runner/work/my-lang/my-lang/playground/hives/me/crates/parser/src/lib.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "critical"
},
{
"reason": "expect() in hot path (80 occurrences, CWE-754)",
"type": "expect_in_hot_path",
"file": "/home/runner/work/my-lang/my-lang/playground/hives/me/crates/parser/src/lib.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "medium"
},
{
"reason": "unwrap() without prior check -- DoS via panic (2 occurrences, CWE-754)",
"type": "unwrap_without_check",
"file": "/home/runner/work/my-lang/my-lang/dialects/solo/compiler/src/lexer.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
},
{
"reason": "unwrap() without prior check -- DoS via panic (1 occurrences, CWE-754)",
"type": "unwrap_without_check",
"file": "/home/runner/work/my-lang/my-lang/lib/common/string.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
},
{
"reason": "unwrap() without prior check -- DoS via panic (13 occurrences, CWE-754)",
"type": "unwrap_without_check",
"file": "/home/runner/work/my-lang/my-lang/lib/common/concurrency.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
},
{
"reason": "Lock.unwrap() without poison handling (8 occurrences, CWE-754)",
"type": "lock_unwrap",
"file": "/home/runner/work/my-lang/my-lang/lib/common/concurrency.rs",
"action": "flag",
"rule_module": "code_safety",
"severity": "high"
}
]Powered by Hypatia Neurosymbolic CI/CD Intelligence |
|
You are seeing this message because GitHub Code Scanning has recently been set up for this repository, or this pull request contains the workflow file for the Code Scanning tool. What Enabling Code Scanning Means:
For more information about GitHub Code Scanning, check out the documentation. |
hyperpolymath
marked this pull request as ready for review
May 15, 2026 17:47
This was referenced May 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Follow-up cleanup flagged by the Hypatia scan on #31.
.github/workflows/codeql.ymlruns its matrix withlanguage: javascript-typescript, but the repo has no JS/TS sources (thelanguage policy bans them; the codebase is Rust/ReScript). The
analyzejob therefore exits with "no source files" on every PR/push/schedule and
uploads no real analysis.
This switches the matrix to
language: actions, which scans the GitHubActions workflow files that every repo has, so the
security-eventsupload reports something meaningful instead of a perpetual no-op.
One-line change,
build-mode: nonekept (no compilation needed for theactionslanguage).Test plan
actionsanalysis will exercise it on this PRanalyzejob no longer reports "no source files"https://claude.ai/code/session_017KxkerbS1hjJwipTExFxLc
Generated by Claude Code